#ifndef MYTHREAD_H
#define MYTHREAD_H

#include <QObject>

class myThread : public QObject
{
    Q_OBJECT
public:
    explicit myThread(QObject *parent = nullptr);

    //线程处理函数-定时器
    void myTimeout();
signals:
    void mySignal();
public:
    bool isStop;
    void setFlag(bool flag);
};

#endif // MYTHREAD_H

